package fr.axelleon.roundtrip.gui;

import com.badlogic.gdx.Screen;

import fr.axelleon.roundtrip.Jeu;

public abstract class GuiScreen implements Screen {
	
	public static final GuiMenu SCREEN_MENU = new GuiMenu("Menu");
	public static final GuiIngame SCREEN_INGAME = new GuiIngame("Ingame");
	
	protected String name;
	protected Jeu game;
	
	protected GuiScreen(String name){
		this.name = name;
	}
	
	public abstract void show();
	public abstract void render(float delta);
	public abstract void resize(int width, int height);
	public abstract void hide();
	public abstract void pause();
	public abstract void resume();
	public abstract void dispose();
	
	public void setGame(Jeu jeu) {
		this.game = jeu;
	}
	
	public String getName(){
		return name;
	}

}
